import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index'
import SongItem from '@/components/Songitem.vue'
import '@/mobile/flexible'

Vue.component('SongItem', SongItem)

Vue.config.productionTip = false

import { Button } from 'vant';
import { NavBar } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Cell } from 'vant';
import { Grid, GridItem } from 'vant';
import { Image as VanImage } from 'vant';
import { Icon } from 'vant';
import { Search } from 'vant';
import { Tag } from 'vant';
import { List } from 'vant';

Vue.use(List);
Vue.use(Tag);
Vue.use(Search);
Vue.use(Icon);
Vue.use(VanImage);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Cell);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(Button);

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
